package com.ly.mp.busicen.rule.field.validator;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @Description: com.ly.mp.busicen.rule.field.FiledRuleLoader.validatorLoad() 初始化的
 * @author wangzhen
 * @date 2024-01-24 04:38:08
 */
public class ValidatorContainer {
	// key就是com.ly.mp.busicen.rule.field.validator.IValidatorEx.validName()
	private Map<String, ValidatorBase> validators=new HashMap<String, ValidatorBase>();

	public Map<String, ValidatorBase> getValidators() {
		return validators;
	}

	public void setValidators(Map<String, ValidatorBase> validators) {
		this.validators = validators;
	}
	
	public ValidatorBase get(String name) {
		return validators.get(name);
	}
	
	

}
